#docker build -t 1461375468/map:3.1 ./
#docker save -o ./mapDocker.tar 1461375468/map:3.1
#docker save -o Z:\pan\temp\mapDocker.tar 1461375468/map:3.1
#docker run -d --network=host -p 8080:8080 -p 8081:8081 1461375468/map:3.1
FROM openjdk:8
MAINTAINER author-info


COPY ./target/mapWeb-0.0.1-SNAPSHOT.jar app.jar 

RUN mkdir /home/config && mkdir /home/log


EXPOSE 8080
# 暴露端口 与配置文件对应
#java -jar myapp.jar --spring.config.location=C:\myapp\config\application.properties
ENTRYPOINT ["java","-jar","/app.jar","--spring.config.location=/home/config/application.yml"]
#ENTRYPOINT ["java","-jar","/app.jar","--spring.profiles.active=default"]
